export default [
  {
    path: '/',
    redirect: '/home', // 是否需要重定向，根据实际需求来
  },
  {
    path: '/404',
    name: '404',
    component: () => import(/* webpackChunkName: "404" */ '@/views/error-page/Page404.vue'),
    meta: {
      title: '找不到页面',
    },
  },
  {
    path: '*',
    name: 'notFound',
    redirect: '/404', // 任何未知路由重定向到 404
  },
]
